/*****************************************************************************
 *
 *                      HUSONG PROPRIETARY INFORMATION
 *
 *          The information contained herein is proprietary to HUSONG
 *           and shall not be reproduced or disclosed in whole or in part
 *                    or used for any design or manufacture
 *              without direct written authorization from HUSONG.
 *
 *            Copyright (c) 2015 by HUSONG.  All rights reserved.
 *
 *****************************************************************************/
package com.husong.pojo;

import com.husong.cons.ReturnCodeAndMsg;

import java.io.Serializable;

/**
 * @author maxmin
 *
 * @date 2015年11月9日 上午11:38:04
 */
@SuppressWarnings("serial")
public class ReturnJsonBean implements Serializable {
	
	private int code;
	private String message;
	private Object data=null;
	
	

	public ReturnJsonBean() {
		this.code = ReturnCodeAndMsg.SERVER_ERROR;
		this.message = ReturnCodeAndMsg.SERVER_ERROR_MSG;
		this.data = null;
	}

	/**
	 * @return the code
	 */
	public int getCode() {
		return code;
	}

	/**
	 * @param code
	 *            the code to set
	 */
	public void setCode(int code) {
		this.code = code;
	}

	/**
	 * @return the message
	 */
	public String getMessage() {
		return message;
	}

	/**
	 * @param message
	 *            the message to set
	 */
	public void setMessage(String message) {
		this.message = message;
	}

	/**
	 * @return the data
	 */
	public Object getData() {
		return data;
	}

	/**
	 * @param data
	 *            the data to set
	 */
	public void setData(Object data) {
		this.data = data;
	}
}
